﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace TaskLib
{
    public delegate void TasksChangedEventHandler(TasksChangedEventArgs e);

    public class TasksChangedEventArgs
    {
        public readonly ITaskFactory factory;
        public readonly ReadOnlyCollection<Task> tasks;
        public readonly Task[] changed;

        public TasksChangedEventArgs(ITaskFactory factory, ReadOnlyCollection<Task> tasks, Task[] changed)
        {
            this.factory = factory;
            this.tasks = tasks;
            this.changed = changed;
        }
    }
}
